<%--
  Created by IntelliJ IDEA.
  User: xin
  Date: 2024/12/3
  Time: 上午11:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>订单信息</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/orderInfo" method="post">
    <table border="1">
        <tr>
            <td colspan="2">订单信息</td>
        </tr>
        <tr>
            <td>订单Id:</td>
            <td><input type="text" name="orderId"></td>
        </tr>
        <tr>
            <td>商品Id:</td>
            <td><input type="text" name="productInfo['生鲜'].proId" value="1"></td>
        </tr>
        <tr>
            <td>商品名称:</td>
            <td><input type="text" name="productInfo['生鲜'].proName" value="三文鱼"></td>
        </tr>
        <tr>
            <td>商品Id:</td>
            <td><input type="text" name="productInfo['酒水'].proId" value="2"></td>
        </tr>
        <tr>
            <td>商品名称:</td>
            <td><input type="text" name="productInfo['酒水'].proName" value="红酒"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="提交"></td>
        </tr>
    </table>
</form>
</body>
</html>